FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource ExampleScenario/FHIR Server from package hl7.fhir.us.physical-activity#current (47 ms)

Package hl7.fhir.us.physical-activity
Type ExampleScenario
Id Id
FHIR Version R4
Source http://hl7.org/fhir/us/physical-activity/https://build.fhir.org/ig/HL7/physical-activity/ExampleScenario-Scen5ActivityAndGlucoseObservations.html
Url http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen5ActivityAndGlucoseObservations
Version 1.0.1
Status draft
Date 2024-03-12T17:26:10+00:00
Name PatientProviderCommunicationonActivityandBloodGlucoseObservations
Experimental True
Realm us
Authority hl7

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: ExampleScenario

Resource ExampleScenario "Scen5ActivityAndGlucoseObservations"

wg: pc

url: http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen5ActivityAndGlucoseObservations

version: 1.0.1

name: PatientProviderCommunicationonActivityandBloodGlucoseObservations

status: draft

experimental: true

date: 2024-03-12 17:26:10+0000

publisher: HL7 International / Patient Care

contact: HL7 International / Patient Care: http://www.hl7.org/Special/committees/patientcare

jurisdiction: United States of America (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#US)

actor

actorId: patient-app

type: entity

name: Rosalie's phone app

description: An app on Rosalie's phone with access to Nadia's record

actor

actorId: flores-ehr

type: entity

name: Mercy Clinic

description: System that manages data for Dr. Flores's clinic

actor

actorId: shea-ehr

type: entity

name: Mrs. O’Shea's app

description: System that manages data for Mrs. O'She's practice

instance

resourceId: Scen5query1

resourceType: Binary

name: Query for PA and blood glucose observations

description: Query for observations that Mrs. O'Shea has access to related to Rosalie: `GET https://mercy.example.org/fhir/Observation?patient=Patient/Scen5PatientRosalie&status=completed,amended,corrected&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity,http%3A//terminology.hl7.org/CodeSystem/observation-category|laboratory`

instance

Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen5ObsBloodGlucose

resourceId: Scen5ObsBloodGlucose

resourceType: Observation

name: Blood Glucose Observation for Rosalie

description: Sample blood-glucose level captured for Rosalie by her mother. (In practice there would be many.)

instance

Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen5ObsActivityGroup

resourceId: Scen5ObsActivityGroup

resourceType: Observation

name: Activity Panel Observation for Rosalie

description: Sample collection of information about one of Rosalie's exercise activities as recorded by her mother. (In practice there would be many.)

instance

Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen5ObsActivityType

resourceId: Scen5ObsActivityType

resourceType: Observation

name: Activity Type Observation for Rosalie

description: Sample record of what type of exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)

instance

Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen5ObsActivityDuration

resourceId: Scen5ObsActivityDuration

resourceType: Observation

name: Activity Duration Observation for Rosalie

description: Sample record of the duration of exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)

instance

Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen5ObsActivityModerate

resourceId: Scen5ObsActivityModerate

resourceType: Observation

name: Moderate Duation Observation for Rosalie

description: Sample record of the duration of moderate exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)

instance

Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen5ObsActivityVigorous

resourceId: Scen5ObsActivityVigorous

resourceType: Observation

name: Vigorous Duration Observation for Rosalie

description: Sample record of the duration of vigorous exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)

instance

Extension Definition for ExampleScenario.instance.content for Version 5.0: Observation/Scen5ObsActivityMeanHR

resourceId: Scen5ObsActivityMeanHR

resourceType: Observation

name: Mean Heart Rate Observation for Rosalie

description: Sample record of Rosalie's average heart rate during her exercise activity as recorded by her mother. (In practice there would be many.)

instance

Extension Definition for ExampleScenario.instance.content for Version 5.0: Bundle/Scen5ObservationsResponseBundle

resourceId: Scen5ObservationsResponseBundle

resourceType: Bundle

name: Observations retrieved by Mrs. O'Shea

description: Search-set Bundle returning Rosalie's observations (that Mrs. O'Shea has access to)

ContainedInstances

-ResourceId
*Scen5ObsActivityMeanHR

process

title: Observation Creation

description: Nadia records observations for Rosalie. While only a limited number of records are captured here, in practice there would likely be multiple glucose readings and activity entries per day every day.

preConditions: Nadia has credentials on Dr. Flores's EHR system.

postConditions: Dr. Flores's system has detailed records of Rosalie's blood glucose readings and exercise levels.

step

operation

number: 1

type: create

name: Record blood glucose

initiator: patient-app

receiver: flores-ehr

description: Nadia's app transmits Rosalie's blood glucose measurement to Dr. Flores's EHR. (NOTE: This type of data is outside the scope of this IG, but is covered by US Core.) Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`

Requests

-ResourceId
*Scen5ObsBloodGlucose

step

operation

number: 2

type: create

name: Record activity group

initiator: patient-app

receiver: flores-ehr

description: Nadia's app transmits a grouper describing Rosalie's exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`

Requests

-ResourceId
*Scen5ObsActivityGroup

step

operation

number: 3

type: create

name: Record activity type

initiator: patient-app

receiver: flores-ehr

description: Nadia's app transmits Rosalie's type of exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`

Requests

-ResourceId
*Scen5ObsActivityType

step

operation

number: 4

type: create

name: Record activity duration

initiator: patient-app

receiver: flores-ehr

description: Nadia's app transmits Rosalie's duration of exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`

Requests

-ResourceId
*Scen5ObsActivityDuration

step

operation

number: 5

type: create

name: Record moderate activity

initiator: patient-app

receiver: flores-ehr

description: Nadia's app transmits Rosalie's duration of moderate exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`

Requests

-ResourceId
*Scen5ObsActivityModerate

step

operation

number: 6

type: create

name: Record vigorous activity

initiator: patient-app

receiver: flores-ehr

description: Nadia's app transmits Rosalie's duration of vigorous exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`

Requests

-ResourceId
*Scen5ObsActivityVigorous

step

operation

number: 7

type: create

name: Record mean heart rate

initiator: patient-app

receiver: flores-ehr

description: Nadia's app transmits Rosalie's average heart rate during exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`

Requests

-ResourceId
*Scen5ObsActivityMeanHR

process

title: Observation Retrieval

description: Mrs. O'Shea uses her app retrieves the observations created by Nadia from Dr. Flores's EHR.

preConditions: Mrs. O'Shea has permision to retrieve certain types observations for Rosalie. (There would generally need to be a consent on file with Dr. Flores's clinic.)

postConditions: Mrs. O'Shea can see the observations about Rosalie.

step

operation

number: 8

type: search-type

name: Retrieve Rosalie's observations

initiator: shea-ehr

receiver: flores-ehr

description: Search to retrieve observations about Rosalie that Mrs. O'Shea has a right to see.

Requests

-ResourceId
*Scen5query1

Responses

-ResourceId
*Scen5ObservationsResponseBundle

Source

{
  "resourceType" : "ExampleScenario",
  "id" : "Scen5ActivityAndGlucoseObservations",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ExampleScenario</b><a name=\"Scen5ActivityAndGlucoseObservations\"> </a><a name=\"hcScen5ActivityAndGlucoseObservations\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource ExampleScenario &quot;Scen5ActivityAndGlucoseObservations&quot; </p></div><p><b>wg</b>: pc</p><p><b>url</b>: <code>http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen5ActivityAndGlucoseObservations</code></p><p><b>version</b>: 1.0.1</p><p><b>name</b>: PatientProviderCommunicationonActivityandBloodGlucoseObservations</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2024-03-12 17:26:10+0000</p><p><b>publisher</b>: HL7 International / Patient Care</p><p><b>contact</b>: HL7 International / Patient Care: <a href=\"http://www.hl7.org/Special/committees/patientcare\">http://www.hl7.org/Special/committees/patientcare</a></p><p><b>jurisdiction</b>: United States of America <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-ISO3166Part1.html\">ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code</a>#US)</span></p><blockquote><p><b>actor</b></p><p><b>actorId</b>: patient-app</p><p><b>type</b>: entity</p><p><b>name</b>: Rosalie's phone app</p><p><b>description</b>: An app on Rosalie's phone with access to Nadia's record</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: flores-ehr</p><p><b>type</b>: entity</p><p><b>name</b>: Mercy Clinic</p><p><b>description</b>: System that manages data for Dr. Flores's clinic</p></blockquote><blockquote><p><b>actor</b></p><p><b>actorId</b>: shea-ehr</p><p><b>type</b>: entity</p><p><b>name</b>: Mrs. O’Shea's app</p><p><b>description</b>: System that manages data for Mrs. O'She's practice</p></blockquote><blockquote><p><b>instance</b></p><p><b>resourceId</b>: Scen5query1</p><p><b>resourceType</b>: Binary</p><p><b>name</b>: Query for PA and blood glucose observations</p><p><b>description</b>: Query for observations that Mrs. O'Shea has access to related to Rosalie: `GET https://mercy.example.org/fhir/Observation?patient=Patient/Scen5PatientRosalie&amp;status=completed,amended,corrected&amp;category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity,http%3A//terminology.hl7.org/CodeSystem/observation-category|laboratory`</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen5ObsBloodGlucose.html\">Observation/Scen5ObsBloodGlucose</a></p><p><b>resourceId</b>: Scen5ObsBloodGlucose</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Blood Glucose Observation for Rosalie</p><p><b>description</b>: Sample blood-glucose level captured for Rosalie by her mother. (In practice there would be many.)</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen5ObsActivityGroup.html\">Observation/Scen5ObsActivityGroup</a></p><p><b>resourceId</b>: Scen5ObsActivityGroup</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Activity Panel Observation for Rosalie</p><p><b>description</b>: Sample collection of information about one of Rosalie's exercise activities as recorded by her mother. (In practice there would be many.)</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen5ObsActivityType.html\">Observation/Scen5ObsActivityType</a></p><p><b>resourceId</b>: Scen5ObsActivityType</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Activity Type Observation for Rosalie</p><p><b>description</b>: Sample record of what type of exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen5ObsActivityDuration.html\">Observation/Scen5ObsActivityDuration</a></p><p><b>resourceId</b>: Scen5ObsActivityDuration</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Activity Duration Observation for Rosalie</p><p><b>description</b>: Sample record of the duration of exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen5ObsActivityModerate.html\">Observation/Scen5ObsActivityModerate</a></p><p><b>resourceId</b>: Scen5ObsActivityModerate</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Moderate Duation Observation for Rosalie</p><p><b>description</b>: Sample record of the duration of moderate exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen5ObsActivityVigorous.html\">Observation/Scen5ObsActivityVigorous</a></p><p><b>resourceId</b>: Scen5ObsActivityVigorous</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Vigorous Duration Observation for Rosalie</p><p><b>description</b>: Sample record of the duration of vigorous exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Observation-Scen5ObsActivityMeanHR.html\">Observation/Scen5ObsActivityMeanHR</a></p><p><b>resourceId</b>: Scen5ObsActivityMeanHR</p><p><b>resourceType</b>: Observation</p><p><b>name</b>: Mean Heart Rate Observation for Rosalie</p><p><b>description</b>: Sample record of Rosalie's average heart rate during her exercise activity as recorded by her mother. (In practice there would be many.)</p></blockquote><blockquote><p><b>instance</b></p><p><b>Extension Definition for ExampleScenario.instance.content for Version 5.0</b>: <a href=\"Bundle-Scen5ObservationsResponseBundle.html\">Bundle/Scen5ObservationsResponseBundle</a></p><p><b>resourceId</b>: Scen5ObservationsResponseBundle</p><p><b>resourceType</b>: Bundle</p><p><b>name</b>: Observations retrieved by Mrs. O'Shea</p><p><b>description</b>: Search-set Bundle returning Rosalie's observations (that Mrs. O'Shea has access to)</p><h3>ContainedInstances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObsActivityMeanHR</td></tr></table></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: Observation Creation</p><p><b>description</b>: Nadia records observations for Rosalie. While only a limited number of records are captured here, in practice there would likely be multiple glucose readings and activity entries per day every day.</p><p><b>preConditions</b>: Nadia has credentials on Dr. Flores's EHR system.</p><p><b>postConditions</b>: Dr. Flores's system has detailed records of Rosalie's blood glucose readings and exercise levels.</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 1</p><p><b>type</b>: create</p><p><b>name</b>: Record blood glucose</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: flores-ehr</p><p><b>description</b>: Nadia's app transmits Rosalie's blood glucose measurement to Dr. Flores's EHR. (NOTE: This type of data is outside the scope of this IG, but is covered by US Core.) Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObsBloodGlucose</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 2</p><p><b>type</b>: create</p><p><b>name</b>: Record activity group</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: flores-ehr</p><p><b>description</b>: Nadia's app transmits a grouper describing Rosalie's exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObsActivityGroup</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 3</p><p><b>type</b>: create</p><p><b>name</b>: Record activity type</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: flores-ehr</p><p><b>description</b>: Nadia's app transmits Rosalie's type of exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObsActivityType</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 4</p><p><b>type</b>: create</p><p><b>name</b>: Record activity duration</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: flores-ehr</p><p><b>description</b>: Nadia's app transmits Rosalie's duration of exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObsActivityDuration</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 5</p><p><b>type</b>: create</p><p><b>name</b>: Record moderate activity</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: flores-ehr</p><p><b>description</b>: Nadia's app transmits Rosalie's duration of moderate exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObsActivityModerate</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 6</p><p><b>type</b>: create</p><p><b>name</b>: Record vigorous activity</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: flores-ehr</p><p><b>description</b>: Nadia's app transmits Rosalie's duration of vigorous exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObsActivityVigorous</td></tr></table></blockquote></blockquote><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 7</p><p><b>type</b>: create</p><p><b>name</b>: Record mean heart rate</p><p><b>initiator</b>: patient-app</p><p><b>receiver</b>: flores-ehr</p><p><b>description</b>: Nadia's app transmits Rosalie's average heart rate during exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObsActivityMeanHR</td></tr></table></blockquote></blockquote></blockquote><blockquote><p><b>process</b></p><p><b>title</b>: Observation Retrieval</p><p><b>description</b>: Mrs. O'Shea uses her app retrieves the observations created by Nadia from Dr. Flores's EHR.</p><p><b>preConditions</b>: Mrs. O'Shea has permision to retrieve certain types observations for Rosalie. (There would generally need to be a consent on file with Dr. Flores's clinic.)</p><p><b>postConditions</b>: Mrs. O'Shea can see the observations about Rosalie.</p><blockquote><p><b>step</b></p><blockquote><p><b>operation</b></p><p><b>number</b>: 8</p><p><b>type</b>: search-type</p><p><b>name</b>: Retrieve Rosalie's observations</p><p><b>initiator</b>: shea-ehr</p><p><b>receiver</b>: flores-ehr</p><p><b>description</b>: Search to retrieve observations about Rosalie that Mrs. O'Shea has a right to see.</p><h3>Requests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5query1</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ResourceId</b></td></tr><tr><td style=\"display: none\">*</td><td>Scen5ObservationsResponseBundle</td></tr></table></blockquote></blockquote></blockquote></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "pc"
    }
  ],
  "url" : "http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen5ActivityAndGlucoseObservations",
  "version" : "1.0.1",
  "name" : "PatientProviderCommunicationonActivityandBloodGlucoseObservations",
  "status" : "draft",
  "experimental" : true,
  "date" : "2024-03-12T17:26:10+00:00",
  "publisher" : "HL7 International / Patient Care",
  "contact" : [
    {
      "name" : "HL7 International / Patient Care",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/patientcare"
        }
      ]
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "US"
        }
      ]
    }
  ],
  "actor" : [
    {
      "actorId" : "patient-app",
      "type" : "entity",
      "name" : "Rosalie's phone app",
      "description" : "An app on Rosalie's phone with access to Nadia's record"
    },
    {
      "actorId" : "flores-ehr",
      "type" : "entity",
      "name" : "Mercy Clinic",
      "description" : "System that manages data for Dr. Flores's clinic"
    },
    {
      "actorId" : "shea-ehr",
      "type" : "entity",
      "name" : "Mrs. O’Shea's app",
      "description" : "System that manages data for Mrs. O'She's practice"
    }
  ],
  "instance" : [
    {
      "resourceId" : "Scen5query1",
      "resourceType" : "Binary",
      "name" : "Query for PA and blood glucose observations",
      "description" : "Query for observations that Mrs. O'Shea has access to related to Rosalie: `GET https://mercy.example.org/fhir/Observation?patient=Patient/Scen5PatientRosalie&status=completed,amended,corrected&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity,http%3A//terminology.hl7.org/CodeSystem/observation-category|laboratory`"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
          "valueReference" : {
            "reference" : "Observation/Scen5ObsBloodGlucose"
          }
        }
      ],
      "resourceId" : "Scen5ObsBloodGlucose",
      "resourceType" : "Observation",
      "name" : "Blood Glucose Observation for Rosalie",
      "description" : "Sample blood-glucose level captured for Rosalie by her mother. (In practice there would be many.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
          "valueReference" : {
            "reference" : "Observation/Scen5ObsActivityGroup"
          }
        }
      ],
      "resourceId" : "Scen5ObsActivityGroup",
      "resourceType" : "Observation",
      "name" : "Activity Panel Observation for Rosalie",
      "description" : "Sample collection of information about one of Rosalie's exercise activities as recorded by her mother. (In practice there would be many.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
          "valueReference" : {
            "reference" : "Observation/Scen5ObsActivityType"
          }
        }
      ],
      "resourceId" : "Scen5ObsActivityType",
      "resourceType" : "Observation",
      "name" : "Activity Type Observation for Rosalie",
      "description" : "Sample record of what type of exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
          "valueReference" : {
            "reference" : "Observation/Scen5ObsActivityDuration"
          }
        }
      ],
      "resourceId" : "Scen5ObsActivityDuration",
      "resourceType" : "Observation",
      "name" : "Activity Duration Observation for Rosalie",
      "description" : "Sample record of the duration of exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
          "valueReference" : {
            "reference" : "Observation/Scen5ObsActivityModerate"
          }
        }
      ],
      "resourceId" : "Scen5ObsActivityModerate",
      "resourceType" : "Observation",
      "name" : "Moderate Duation Observation for Rosalie",
      "description" : "Sample record of the duration of moderate exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
          "valueReference" : {
            "reference" : "Observation/Scen5ObsActivityVigorous"
          }
        }
      ],
      "resourceId" : "Scen5ObsActivityVigorous",
      "resourceType" : "Observation",
      "name" : "Vigorous Duration Observation for Rosalie",
      "description" : "Sample record of the duration of vigorous exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
          "valueReference" : {
            "reference" : "Observation/Scen5ObsActivityMeanHR"
          }
        }
      ],
      "resourceId" : "Scen5ObsActivityMeanHR",
      "resourceType" : "Observation",
      "name" : "Mean Heart Rate Observation for Rosalie",
      "description" : "Sample record of Rosalie's average heart rate during her exercise activity as recorded by her mother. (In practice there would be many.)"
    },
    {
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ExampleScenario.instance.content",
          "valueReference" : {
            "reference" : "Bundle/Scen5ObservationsResponseBundle"
          }
        }
      ],
      "resourceId" : "Scen5ObservationsResponseBundle",
      "resourceType" : "Bundle",
      "name" : "Observations retrieved by Mrs. O'Shea",
      "description" : "Search-set Bundle returning Rosalie's observations (that Mrs. O'Shea has access to)",
      "containedInstance" : [
        {
          "resourceId" : "Scen5ObsActivityMeanHR"
        }
      ]
    }
  ],
  "process" : [
    {
      "title" : "Observation Creation",
      "description" : "Nadia records observations for Rosalie. While only a limited number of records are captured here, in practice there would likely be multiple glucose readings and activity entries per day every day.",
      "preConditions" : "Nadia has credentials on Dr. Flores's EHR system.",
      "postConditions" : "Dr. Flores's system has detailed records of Rosalie's blood glucose readings and exercise levels.",
      "step" : [
        {
          "operation" : {
            "number" : "1",
            "type" : "create",
            "name" : "Record blood glucose",
            "initiator" : "patient-app",
            "receiver" : "flores-ehr",
            "description" : "Nadia's app transmits Rosalie's blood glucose measurement to Dr. Flores's EHR. (NOTE: This type of data is outside the scope of this IG, but is covered by US Core.) Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`",
            "request" : {
              "resourceId" : "Scen5ObsBloodGlucose"
            }
          }
        },
        {
          "operation" : {
            "number" : "2",
            "type" : "create",
            "name" : "Record activity group",
            "initiator" : "patient-app",
            "receiver" : "flores-ehr",
            "description" : "Nadia's app transmits a grouper describing Rosalie's exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`",
            "request" : {
              "resourceId" : "Scen5ObsActivityGroup"
            }
          }
        },
        {
          "operation" : {
            "number" : "3",
            "type" : "create",
            "name" : "Record activity type",
            "initiator" : "patient-app",
            "receiver" : "flores-ehr",
            "description" : "Nadia's app transmits Rosalie's type of exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`",
            "request" : {
              "resourceId" : "Scen5ObsActivityType"
            }
          }
        },
        {
          "operation" : {
            "number" : "4",
            "type" : "create",
            "name" : "Record activity duration",
            "initiator" : "patient-app",
            "receiver" : "flores-ehr",
            "description" : "Nadia's app transmits Rosalie's duration of exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`",
            "request" : {
              "resourceId" : "Scen5ObsActivityDuration"
            }
          }
        },
        {
          "operation" : {
            "number" : "5",
            "type" : "create",
            "name" : "Record moderate activity",
            "initiator" : "patient-app",
            "receiver" : "flores-ehr",
            "description" : "Nadia's app transmits Rosalie's duration of moderate exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`",
            "request" : {
              "resourceId" : "Scen5ObsActivityModerate"
            }
          }
        },
        {
          "operation" : {
            "number" : "6",
            "type" : "create",
            "name" : "Record vigorous activity",
            "initiator" : "patient-app",
            "receiver" : "flores-ehr",
            "description" : "Nadia's app transmits Rosalie's duration of vigorous exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`",
            "request" : {
              "resourceId" : "Scen5ObsActivityVigorous"
            }
          }
        },
        {
          "operation" : {
            "number" : "7",
            "type" : "create",
            "name" : "Record mean heart rate",
            "initiator" : "patient-app",
            "receiver" : "flores-ehr",
            "description" : "Nadia's app transmits Rosalie's average heart rate during exercise to Dr. Flores's EHR. Request: `POST https://mercy.example.org/fhir/Observation` Response: `201 Created`",
            "request" : {
              "resourceId" : "Scen5ObsActivityMeanHR"
            }
          }
        }
      ]
    },
    {
      "title" : "Observation Retrieval",
      "description" : "Mrs. O'Shea uses her app retrieves the observations created by Nadia from Dr. Flores's EHR.",
      "preConditions" : "Mrs. O'Shea has permision to retrieve certain types observations for Rosalie. (There would generally need to be a consent on file with Dr. Flores's clinic.)",
      "postConditions" : "Mrs. O'Shea can see the observations about Rosalie.",
      "step" : [
        {
          "operation" : {
            "number" : "8",
            "type" : "search-type",
            "name" : "Retrieve Rosalie's observations",
            "initiator" : "shea-ehr",
            "receiver" : "flores-ehr",
            "description" : "Search to retrieve observations about Rosalie that Mrs. O'Shea has a right to see.",
            "request" : {
              "resourceId" : "Scen5query1"
            },
            "response" : {
              "resourceId" : "Scen5ObservationsResponseBundle"
            }
          }
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.